home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gst-python / 0.10 / defs / pbutils.defs < prev    next >
Encoding:
Text File  |  2009-02-21  |  6.2 KB  |  275 lines

  1. ;; -*- scheme -*-
  2. ; object definitions ...
  3. ;; Enumerations and flags ...
  4.  
  5. (define-boxed InstallPluginsContext
  6.   (in-module "Gst")
  7.   (c-name "GstInstallPluginsContext")
  8.   (gtype-id "GST_TYPE_INSTALL_PLUGINS_CONTEXT")
  9. )
  10.  
  11. (define-enum InstallPluginsReturn
  12.   (in-module "Gst")
  13.   (c-name "GstInstallPluginsReturn")
  14.   (gtype-id "GST_TYPE_INSTALL_PLUGINS_RETURN")
  15.   (values
  16.     '("success" "GST_INSTALL_PLUGINS_SUCCESS")
  17.     '("not-found" "GST_INSTALL_PLUGINS_NOT_FOUND")
  18.     '("error" "GST_INSTALL_PLUGINS_ERROR")
  19.     '("partial-success" "GST_INSTALL_PLUGINS_PARTIAL_SUCCESS")
  20.     '("user-abort" "GST_INSTALL_PLUGINS_USER_ABORT")
  21.     '("crashed" "GST_INSTALL_PLUGINS_CRASHED")
  22.     '("invalid" "GST_INSTALL_PLUGINS_INVALID")
  23.     '("started-ok" "GST_INSTALL_PLUGINS_STARTED_OK")
  24.     '("internal-failure" "GST_INSTALL_PLUGINS_INTERNAL_FAILURE")
  25.     '("helper-missing" "GST_INSTALL_PLUGINS_HELPER_MISSING")
  26.     '("install-in-progress" "GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS")
  27.   )
  28. )
  29.  
  30.  
  31. ;; From descriptions.h
  32.  
  33. (define-function add_codec_description_to_tag_list
  34.   (c-name "gst_pb_utils_add_codec_description_to_tag_list")
  35.   (return-type "gboolean")
  36.   (parameters
  37.     '("GstTagList*" "taglist")
  38.     '("const-gchar*" "codec_tag")
  39.     '("const-GstCaps*" "caps")
  40.   )
  41. )
  42.  
  43. (define-function get_codec_description
  44.   (c-name "gst_pb_utils_get_codec_description")
  45.   (return-type "gchar*")
  46.   (parameters
  47.     '("const-GstCaps*" "caps")
  48.   )
  49. )
  50.  
  51. (define-function get_source_description
  52.   (c-name "gst_pb_utils_get_source_description")
  53.   (return-type "gchar*")
  54.   (parameters
  55.     '("const-gchar*" "protocol")
  56.   )
  57. )
  58.  
  59. (define-function get_sink_description
  60.   (c-name "gst_pb_utils_get_sink_description")
  61.   (return-type "gchar*")
  62.   (parameters
  63.     '("const-gchar*" "protocol")
  64.   )
  65. )
  66.  
  67. (define-function get_decoder_description
  68.   (c-name "gst_pb_utils_get_decoder_description")
  69.   (return-type "gchar*")
  70.   (parameters
  71.     '("const-GstCaps*" "caps")
  72.   )
  73. )
  74.  
  75. (define-function get_encoder_description
  76.   (c-name "gst_pb_utils_get_encoder_description")
  77.   (return-type "gchar*")
  78.   (parameters
  79.     '("const-GstCaps*" "caps")
  80.   )
  81. )
  82.  
  83. (define-function get_element_description
  84.   (c-name "gst_pb_utils_get_element_description")
  85.   (return-type "gchar*")
  86.   (parameters
  87.     '("const-gchar*" "factory_name")
  88.   )
  89. )
  90.  
  91.  
  92.  
  93. ;; From install-plugins.h
  94.  
  95. (define-function install_plugins_context_new
  96.   (c-name "gst_install_plugins_context_new")
  97.   (is-constructor-of "GstInstallPluginsContext")
  98.   (return-type "GstInstallPluginsContext*")
  99. )
  100.  
  101. (define-method free
  102.   (of-object "GstInstallPluginsContext")
  103.   (c-name "gst_install_plugins_context_free")
  104.   (return-type "none")
  105. )
  106.  
  107. (define-method set_xid
  108.   (of-object "GstInstallPluginsContext")
  109.   (c-name "gst_install_plugins_context_set_xid")
  110.   (return-type "none")
  111.   (parameters
  112.     '("guint" "xid")
  113.   )
  114. )
  115.  
  116. (define-function install_plugins_async
  117.   (c-name "gst_install_plugins_async")
  118.   (return-type "GstInstallPluginsReturn")
  119.   (parameters
  120.     '("gchar**" "details")
  121.     '("GstInstallPluginsContext*" "ctx")
  122.     '("GstInstallPluginsResultFunc" "func")
  123.     '("gpointer" "user_data")
  124.   )
  125. )
  126.  
  127. (define-function install_plugins_sync
  128.   (c-name "gst_install_plugins_sync")
  129.   (return-type "GstInstallPluginsReturn")
  130.   (parameters
  131.     '("gchar**" "details")
  132.     '("GstInstallPluginsContext*" "ctx")
  133.   )
  134. )
  135.  
  136. (define-method get_name
  137.   (of-object "GstInstallPluginsReturn")
  138.   (c-name "gst_install_plugins_return_get_name")
  139.   (return-type "const-gchar*")
  140. )
  141.  
  142. (define-function install_plugins_installation_in_progress
  143.   (c-name "gst_install_plugins_installation_in_progress")
  144.   (return-type "gboolean")
  145. )
  146.  
  147. (define-function install_plugins_supported
  148.   (c-name "gst_install_plugins_supported")
  149.   (return-type "gboolean")
  150. )
  151.  
  152.  
  153.  
  154. ;; From missing-plugins.h
  155.  
  156. (define-function missing_uri_source_message_new
  157.   (c-name "gst_missing_uri_source_message_new")
  158.   (return-type "GstMessage*")
  159.   (parameters
  160.     '("GstElement*" "element")
  161.     '("const-gchar*" "protocol")
  162.   )
  163. )
  164.  
  165. (define-function missing_uri_sink_message_new
  166.   (c-name "gst_missing_uri_sink_message_new")
  167.   (return-type "GstMessage*")
  168.   (parameters
  169.     '("GstElement*" "element")
  170.     '("const-gchar*" "protocol")
  171.   )
  172. )
  173.  
  174. (define-function missing_element_message_new
  175.   (c-name "gst_missing_element_message_new")
  176.   (return-type "GstMessage*")
  177.   (parameters
  178.     '("GstElement*" "element")
  179.     '("const-gchar*" "factory_name")
  180.   )
  181. )
  182.  
  183. (define-function missing_decoder_message_new
  184.   (c-name "gst_missing_decoder_message_new")
  185.   (return-type "GstMessage*")
  186.   (parameters
  187.     '("GstElement*" "element")
  188.     '("const-GstCaps*" "decode_caps")
  189.   )
  190. )
  191.  
  192. (define-function missing_encoder_message_new
  193.   (c-name "gst_missing_encoder_message_new")
  194.   (return-type "GstMessage*")
  195.   (parameters
  196.     '("GstElement*" "element")
  197.     '("const-GstCaps*" "encode_caps")
  198.   )
  199. )
  200.  
  201. (define-function missing_plugin_message_get_installer_detail
  202.   (c-name "gst_missing_plugin_message_get_installer_detail")
  203.   (return-type "gchar*")
  204.   (parameters
  205.     '("GstMessage*" "msg")
  206.   )
  207. )
  208.  
  209. (define-function missing_plugin_message_get_description
  210.   (c-name "gst_missing_plugin_message_get_description")
  211.   (return-type "gchar*")
  212.   (parameters
  213.     '("GstMessage*" "msg")
  214.   )
  215. )
  216.  
  217. (define-function is_missing_plugin_message
  218.   (c-name "gst_is_missing_plugin_message")
  219.   (return-type "gboolean")
  220.   (parameters
  221.     '("GstMessage*" "msg")
  222.   )
  223. )
  224.  
  225. (define-function missing_uri_source_installer_detail_new
  226.   (c-name "gst_missing_uri_source_installer_detail_new")
  227.   (return-type "gchar*")
  228.   (parameters
  229.     '("const-gchar*" "protocol")
  230.   )
  231. )
  232.  
  233. (define-function missing_uri_sink_installer_detail_new
  234.   (c-name "gst_missing_uri_sink_installer_detail_new")
  235.   (return-type "gchar*")
  236.   (parameters
  237.     '("const-gchar*" "protocol")
  238.   )
  239. )
  240.  
  241. (define-function missing_element_installer_detail_new
  242.   (c-name "gst_missing_element_installer_detail_new")
  243.   (return-type "gchar*")
  244.   (parameters
  245.     '("const-gchar*" "factory_name")
  246.   )
  247. )
  248.  
  249. (define-function missing_decoder_installer_detail_new
  250.   (c-name "gst_missing_decoder_installer_detail_new")
  251.   (return-type "gchar*")
  252.   (parameters
  253.     '("const-GstCaps*" "decode_caps")
  254.   )
  255. )
  256.  
  257. (define-function missing_encoder_installer_detail_new
  258.   (c-name "gst_missing_encoder_installer_detail_new")
  259.   (return-type "gchar*")
  260.   (parameters
  261.     '("const-GstCaps*" "encode_caps")
  262.   )
  263. )
  264.  
  265.  
  266.  
  267. ;; From pbutils.h
  268.  
  269. (define-function init
  270.   (c-name "gst_pb_utils_init")
  271.   (return-type "none")
  272. )
  273.  
  274.  
  275.